# Maintainer: Hugo Osvaldo Barrera <hugo@whynothugo.nl>
pkgname=hare-madeline
pkgver=0.1
pkgrel=0
pkgdesc="tiny readline-alike with some batteries included"
url="https://git.d2evs.net/~ecs/madeline"
arch="noarch"
license="WTFPL"
source="
	$pkgname-$pkgver.tar.gz::https://git.d2evs.net/~ecs/madeline/archive/v$pkgver.tar.gz
"
subpackages="$pkgname-doc"
builddir="$srcdir/madeline-v$pkgver"
options="!check"  # no tests

package() {
	install -dm755 "$pkgdir/usr/src/hare/third-party"
	cp -Rd "graph" "made" "$pkgdir/usr/src/hare/third-party"

	install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" "LICENSE"
	install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" "README"
}

sha512sums="
00c4e48472f5d2e1428d9f4c7c905a00a6aab8c6f3ef9b3d2475e042640c86c9112acf745a84da44bbfe2a695fa25fc92d17083249fa647e1de7486099e19d25  hare-madeline-0.1.tar.gz
"
